package com.budwk.app.sqfw.models;

import com.budwk.starter.common.openapi.annotation.ApiModel;
import com.budwk.starter.common.openapi.annotation.ApiModelProperty;
import com.budwk.starter.database.model.BaseModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.nutz.dao.entity.annotation.*;
import org.nutz.dao.interceptor.annotation.PrevInsert;

import java.io.Serializable;
import java.util.Date;

/**
 * @title: Sqfw_versionupdate
 * @Author Tan
 * @Date: 2023/5/26 9:07
 * @Version 1.0
 */


@Data
@EqualsAndHashCode(callSuper = true)
@Table("shequ.sqfw_versionupdate")
@Comment("版本检测表")
@ApiModel(description = "版本检测表")
public class Sqfw_versionupdate extends BaseModel implements Serializable {
    private static final long serialVersionUID = 1L;
    @Column
    @Name
    @Comment("id")
    @ApiModelProperty(description = "Id")
    @ColDefine(type = ColType.VARCHAR, width = 32)
    @PrevInsert(uu32 = true)
    private String id;

    @Column("version_number")
    @Comment("版本号")
    @ApiModelProperty(description = "版本号")
    @ColDefine(type = ColType.VARCHAR, width = 255)
    private String versionNumber;

    @Column("version_link")
    @Comment("版本链接")
    @ApiModelProperty(description = "版本链接")
    @ColDefine(type = ColType.VARCHAR, width = 255)
    private String versionLink;

    @Column("hint_remark")
    @Comment("提示描述")
    @ApiModelProperty(description = "提示描述")
    @ColDefine(type = ColType.VARCHAR, width = 255)
    private String hintRemark;

    @Column("force_update")
    @Comment("是否强制更新")
    @ApiModelProperty(description = "是否强制更新")
    @ColDefine(type = ColType.VARCHAR, width = 255)
    private String forceUpdate;

    @Column("upload_path")
    @Comment("对象存储地址")
    @ApiModelProperty(description = "对象存储地址")
    @ColDefine(type = ColType.VARCHAR, width = 255)
    private String uploadPath;

    @Column("update_type")
    @Comment("更新类型")
    @ApiModelProperty(description = "更新类型")
    @ColDefine(type = ColType.VARCHAR, width = 255)
    private String updateType;


}
